Constraint-Based Partial Evaluation of Rewriting-Based Functional Logic Programs

نویسندگان

  • Laura Lafave
  • John P. Gallagher
چکیده

The aim of this work is to describe a procedure for the partial evaluation of functional logic programs in rewriting-based languages using constraint-based information propagation. The partial evaluation algorithm incorporated with local and global control describes a KMP partial evaluator. We show results from the implementation of the partial evaluator in the rewriting-based functional logic language Escher. Finally, we discuss extensions of the partial evaluation procedure which may lead to greater specialisation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A constraint-based partial evaluator for functional logic programs and its application

The aim of this work is the development and application of a partial evaluation procedure for rewriting-based functional logic programs. Functional logic programming languages unite the two main declarative programming paradigms. The rewriting-based computational model extends traditional functional programming languages by incorporating logical features, including logical variables and built-i...

متن کامل

Partial Evaluation of Functional Logic Programs in Rewriting-based Languages

The aim of this work is to describe a procedure for the partial evaluation of functional logic languages based on rewriting. In this work, we will use the Escher language as an example of a (concurrent) functional logic language which has rewriting as its computational mechanism. Partial evaluation is a program transformation technique which, by performing some computation and abstraction at co...

متن کامل

Information Propagation in Partial

The aim of this work is to incorporate constraints into the partial evaluation procedure in order to obtain further specialisation through greater (constraint-based) information propagation. We incorporate constraints into the algorithm for the partial evaluation of the Escher language, a functional logic language based on rewriting. The preliminary implementation of the partial evaluator uses ...

متن کامل

Narrowing-Driven Partial Evaluation of Functional Logic Programs

Languages that integrate functional and logic programming with a complete operational semantics are based on narrowing, a unification-based goal-solving mechanism which subsumes the reduction principle of functional languages and the resolution principle of logic languages. Formal methods of transformation of functional logic programs can be based on this well-established operational semantics....

متن کامل

From Rules to Constraint Programs with the Rules2CP Modelling Language

In this paper, we show that the business rules knowledge representation paradigm, which is widely used in the industry, can be developped as a front-end modelling language for constraint programming. We present a general purpose rule-based modelling language, called Rules2CP, and describe its compilation to constraint programs over finite domains with reified constraints and global constraints,...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997